﻿<Window x:Class="InstallerGUI.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:extToolkit="clr-namespace:Xceed.Wpf.Toolkit;assembly=WPFToolkit.Extended"
        xmlns:local="clr-namespace:InstallerGUI"
        Title="MainWindow" Height="400" Width="600" >
   
    <Grid>
        <extToolkit:Wizard FinishButtonClosesWindow="True" PageChanged="Wizard_PageChanged" Name="installWizard">
            <extToolkit:WizardPage x:Name="IntroPage" 
                                   Title="Welcome to the Install Wizard"
                                   Description="This Wizard will walk you though how to install the sample application." />
            <extToolkit:WizardPage x:Name="Page1" PageType="Interior"
                                   Title="Page 1"
                                   Description="Show EULA here."
                                   NextPage="{Binding ElementName=Page2}"
                                   PreviousPage="{Binding ElementName=IntroPage}"/>
            <extToolkit:WizardPage x:Name="Page2" PageType="Interior"
                                   Title="Page 2"
                                   Description="Installation screen" >
                <local:InstallControl x:Name="InstallControl"></local:InstallControl>
                </extToolkit:WizardPage>
            <extToolkit:WizardPage x:Name="LastPage" PageType="Interior"
                                   Title="Last Page"
                                   Description="Installation is finished."
                                   CanFinish="True"/>
        </extToolkit:Wizard>
        <extToolkit:Wizard FinishButtonClosesWindow="True" Name="uninstallWizard" PageChanged="uninstallWizard_PageChanged">
            <extToolkit:WizardPage x:Name="UIntroPage" 
                                   Title="Welcome to the Uninstall Wizard"
                                   Description="This Wizard will walk you though how to uninstall the sample application." />
           
            <extToolkit:WizardPage x:Name="UPage2" PageType="Interior"
                                   Title="Page 2"
                                   Description="Uninstall screen" >
                <local:InstallControl x:Name="UInstallControl"></local:InstallControl>
            </extToolkit:WizardPage>
            <extToolkit:WizardPage x:Name="ULastPage" PageType="Interior"
                                   Title="Last Page"
                                   Description="UnInstallation is finished."
                                   CanFinish="True"/>
        </extToolkit:Wizard>
        <!--<Button Content="Start" Grid.Row="1" Height="23" Margin="0,0,27,12" Name="btnStart" VerticalAlignment="Center" HorizontalAlignment="Right" Width="75" Click="btnStart_Click" />-->
    </Grid>
</Window>
